//
// Created by Aivin on 2017/10/6.
//

#include "../../../../../../aivin_soft/sdk/ndk-bundle/platforms/android-21/arch-arm/usr/include/jni.h"

#ifndef ANDROID_JNI_CPP_JNITOOLS_H
#define ANDROID_JNI_CPP_JNITOOLS_H

#endif //ANDROID_JNI_CPP_JNITOOLS_H


jstring getNewJstring(char * msgChar);
jint logJstring(JNIEnv *env  , jstring);
jstring getAppendedString(JNIEnv *env , jstring s1, jstring s2) ;
jstring toHexJstring(JNIEnv *env, jbyteArray digested_bytes) ;
jbyteArray toBytes(JNIEnv *env, jstring string);


jvalue JNU_CallMethodByName(JNIEnv *env, jboolean *hasException, jobject obj,   const char *name, const char *descriptor, ...) ;

